package com.zhongli.devplatform.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**反馈状态枚举类
 * @author WuXiCheng
 * @version 1.0
 * @date 2020/7/24 9:30
 */
@Getter
public enum FeedbackEnum{

    Wait(0,"待回复"),        // 待回复

    Finish(1,"已回复");          // 已回复

    @EnumValue
    private  int code;

    @JsonValue
    private  String message;

    FeedbackEnum(int code,String message) {
        this.code = code;
        this.message = message;
    }
}
